package org.example.mbg.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.example.mbg.model.TPrivilege;
import org.example.mbg.model.TPrivilegeExample;

public interface TPrivilegeMapper {
    long countByExample(TPrivilegeExample example);

    int deleteByExample(TPrivilegeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TPrivilege record);

    int insertSelective(TPrivilege record);

    List<TPrivilege> selectByExampleWithBLOBs(TPrivilegeExample example);

    List<TPrivilege> selectByExample(TPrivilegeExample example);

    TPrivilege selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TPrivilege record, @Param("example") TPrivilegeExample example);

    int updateByExampleWithBLOBs(@Param("record") TPrivilege record, @Param("example") TPrivilegeExample example);

    int updateByExample(@Param("record") TPrivilege record, @Param("example") TPrivilegeExample example);

    int updateByPrimaryKeySelective(TPrivilege record);

    int updateByPrimaryKeyWithBLOBs(TPrivilege record);

    int updateByPrimaryKey(TPrivilege record);
}